<?php
class table_cacheController extends accessController{
    public static function _right(){
        return array(
            array('网站管理',1),
            array('后台缓存清除','admin_part'),
            array('前台缓存清除','mylist'),
        );
    }
	public function index(){
		
	}
	public function s(){
		return array('table_cache');
	}
	public function admin_part(){
		$r=$this->s_0->admin_part();
		if($r){
			alert('操作成功！');
		}else{
			alert('操作失败！');
		}
		back();
	}
	public function front_part(){
		$r=$this->s_0->front_part();
		if($r){
			alert('操作成功！');
		}else{
			alert('操作失败！');
		}
		back();
	}
//
}